]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Reduce folder dialog popdown timeout
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 24 Sep 2020 14:59:35 +0000 (11:59 -0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 5 Oct 2020 12:06:47 +0000 (12:06 +0000)
1500ms is too long of a delay, and it confuses people more than it
helps with accidental drops.

Reduce the timeout to 500ms as per design feedback.

Related: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3092

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1447

js/ui/appDisplay.js

index 4e160f621edda7add2d0d96d6da67452d5367266..6011d72ee661451abe2753ba5b5b41262a6a9c90 100644 (file)
@@ -19,7 +19,7 @@ const Params = imports.misc.params;
 const SystemActions = imports.misc.systemActions;
 
 var MENU_POPUP_TIMEOUT = 600;
-var POPDOWN_DIALOG_TIMEOUT = 1500;
+var POPDOWN_DIALOG_TIMEOUT = 500;
 
 var FOLDER_SUBICON_FRACTION = .4;